package com.yuhanginfo.modules.web.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yuhanginfo.common.service.WebCrudService;
import com.yuhanginfo.modules.web.dao.WebWaybillDao;
import com.yuhanginfo.modules.web.entity.WebWaybill;

/**
 * 订单详情Service
 * @author yangs
 * @version 2017-09-19
 */
@Service
@Transactional(readOnly = true)
public class WebWaybillService extends WebCrudService<WebWaybillDao, WebWaybill> {
    @Autowired
    private WebWaybillDao waybillDao;
   

	public List<WebWaybill> selectByOrderCode(String code) {
		
		return waybillDao.selectByOrderCode(code);
	}


	public List<WebWaybill> selectByLogisticsCode(String wuCode,String orderCode) {
		
		return waybillDao.selectByLogisticsCode(wuCode,orderCode);
	}

	
	
}